package com.obas.access.business.service.impl;

import com.ease.common.vo.MapParameter;
import com.ease.platform.access.service.impl.AbstractParameterizedBeanIbatisAccessServiceImpl;
import com.obas.access.business.service.VlanAccessService;
import com.obas.model.business.Vlan;

public class VlanAccessServiceImpl extends AbstractParameterizedBeanIbatisAccessServiceImpl<Vlan> implements VlanAccessService {

	public Vlan findByPortIdAndVlanid(long portId, String vlanid) {
		MapParameter parameter = new MapParameter();
		parameter.put(Vlan.Attribute_portId, portId);
		parameter.put(Vlan.Attribute_vlanid, vlanid);

		return this.findOne(parameter);
	}

}
